<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>

<h2>Ingredients:</h2>
  <table  border="1" width ="500px">
  <tr>
    <th>Name</th>
    <th>Amount</th>
    <th>Amount Unit</th>
    <th>Notes</th>
    <th>Actions</th>
  </tr>
   <%= render(:partial => "ingredients/show_row", :collection => ingredients.ingredient) %>
</table>
      <%#= link_to 'Add new ingredient' %>
      <% form_remote_tag :url => {:action => "edit_add_new_ingredient", :recipe_id=>ingredients} do %>
         <%= submit_tag "Add New Ingredient" %>
      <% end %>

